﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="KullaniciNufusBilgileri.ascx.cs"
    Inherits="HPDMAS.UserControls.KullaniciNufusBilgileri" %>
<asp:DetailsView ID="dvKullaniciNufusBilgileri" runat="server" AutoGenerateRows="False"
    class="form-actions" Style="padding: 10px; margin-right: 1px;" OnModeChanging="dvKullaniciNufusBilgileri_ModeChanging"
    ViewStateMode="Disabled" EmptyDataText="Daha önceden giriş yapılmamış." DataKeyNames="KullaniciID"
    OnDataBound="dvKullaniciNufusBilgileri_DataBound" OnItemUpdating="dvKullaniciNufusBilgileri_ItemUpdating"
    Width="50%" CellPadding="4" ForeColor="#333333" GridLines="None">
    <AlternatingRowStyle BackColor="White" />
    <CommandRowStyle BackColor="#D1DDF1" Font-Bold="True" />
    <EditRowStyle BackColor="#2461BF" />
    <FieldHeaderStyle BackColor="#DEE8F5" Font-Bold="True" />
    <Fields>
        <asp:TemplateField>
            <ItemTemplate>
                <tr>
                    <td align="right" width="200px">
                        <b>TC Kimlik No : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciNfsTCKimlikNo")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Nüfus Seri : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciNfsSeri")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Nüfus No : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciNfsNo")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Adı : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciNfsAdi")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Soyadı : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciNfsSoyadi")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Doğum Yeri : </b>
                    </td>
                    <td>
                        <%# Eval("Sehir.SehirAdi")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Doğum Tarihi : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciNfsDogumTarihi", "{0:d}")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Baba Adı : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciNfsBabaAdi")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Ana Adı : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciNfsAnaAdi")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Medeni Hali : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciNfsMedeniHali")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Kayıtlı Olduğu İl : </b>
                    </td>
                    <td>
                        <%# Eval("Sehir1.SehirAdi")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Kayıtlı Olduğu İlçe : </b>
                    </td>
                    <td>
                        <%# Eval("Ilce.IlceAdi")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Kayıtlı Olduğu Mahalle - Köy : </b>
                    </td>
                    <td>
                        <%# Eval("Mahalle.MahalleAdi")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Cilt No : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciNfsCiltNo")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Aile Sıra No : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciNfsAileSiraNo")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Sıra No : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciNfsSiraNo")%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Fotoğraf : </b>
                    </td>
                    <td>
                        <%# Eval("KullaniciResim")%>
                    </td>
                </tr>
            </ItemTemplate>
            <EditItemTemplate>
                <tr>
                    <td align="right" width="200px">
                        <b>Nüfus Seri : </b>
                    </td>
                    <td>
                        <asp:TextBox class="txtKayit" ID="txtNfsSeri" runat="server" Text='<%# Eval("KullaniciNfsSeri")%>'
                            MaxLength="10" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>TC Kimlik No : </b>
                    </td>
                    <td>
                        <asp:TextBox class="txtKayit" ID="txtTcKimlikNo" runat="server" Text='<%# Eval("KullaniciNfsTCKimlikNo")%>'
                            MaxLength="11" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Adı : </b>
                    </td>
                    <td>
                        <asp:TextBox class="txtKayit" ID="txtAdi" runat="server" Text='<%# Eval("KullaniciNfsAdi")%>'
                            MaxLength="10" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Nüfus No : </b>
                    </td>
                    <td>
                        <asp:TextBox class="txtKayit" ID="txtNfsNo" runat="server" Text='<%# Eval("KullaniciNfsNo")%>'
                            MaxLength="10" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Doğum Yeri : </b>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlDogumYeri" runat="server" Height="30px" Width="165px" AppendDataBoundItems="True">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Soyadı : </b>
                    </td>
                    <td>
                        <asp:TextBox class="txtKayit" ID="txtSoyadi" runat="server" Text='<%# Eval("KullaniciNfsSoyadi")%>'
                            MaxLength="10" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Baba Adı : </b>
                    </td>
                    <td>
                        <asp:TextBox class="txtKayit" ID="txtBabaAdi" runat="server" Text='<%# Eval("KullaniciNfsBabaAdi")%>'
                            MaxLength="10" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Doğum Tarihi : </b>
                    </td>
                    <td>
                        <asp:TextBox class="txtKayit" ID="txtDogumTarihi" runat="server" Text='<%# Eval("KullaniciNfsDogumTarihi", "{0:d}")%>'
                            MaxLength="10" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Medeni Hali : </b>
                    </td>
                    <td>
                        <asp:TextBox class="txtKayit" ID="txtMedeniHali" runat="server" Text='<%# Eval("KullaniciNfsMedeniHali")%>'
                            MaxLength="10" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Ana Adı : </b>
                    </td>
                    <td>
                        <asp:TextBox class="txtKayit" ID="txtAnaAdi" runat="server" Text='<%# Eval("KullaniciNfsAnaAdi")%>'
                            MaxLength="10" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Kayıtlı Olduğu İl : </b>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlKayitliOlduguIl" runat="server" Height="30px" Width="165px"
                            OnSelectedIndexChanged="ddlKayitliOlduguIl_SelectedIndexChanged" AutoPostBack="True">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Kayıtlı Olduğu İlçe : </b>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlKayitliOlduguIlce" runat="server" Height="30px" Width="165px"
                            AutoPostBack="true" OnSelectedIndexChanged="ddlKayitliOlduguIlce_SelectedIndexChanged">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Kayıtlı Olduğu Mahalle - Köy : </b>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlKayitliOlduguMahalle" runat="server" Height="30px" Width="165px"
                            AppendDataBoundItems="true">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Cilt No : </b>
                    </td>
                    <td>
                        <asp:TextBox class="txtKayit" ID="txtNfsCiltNo" runat="server" Text='<%# Eval("KullaniciNfsCiltNo")%>'
                            Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Sıra No : </b>
                    </td>
                    <td>
                        <asp:TextBox class="txtKayit" ID="txtNfsSiraNo" runat="server" Text='<%# Eval("KullaniciNfsSiraNo")%>'
                            Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Aile Sıra No : </b>
                    </td>
                    <td>
                        <asp:TextBox class="txtKayit" ID="txtNfsAileSiraNo" runat="server" Text='<%# Eval("KullaniciNfsAileSiraNo")%>'
                            Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <b>Fotoğraf : </b>
                    </td>
                    <td>
                        <asp:TextBox class="txtKayit" ID="txtResim" runat="server" Text='<%# Eval("KullaniciResim")%>'
                            Width="200px"></asp:TextBox>
                    </td>
                </tr>
            </EditItemTemplate>
        </asp:TemplateField>
        <asp:CommandField EditText="Düzenle" ShowEditButton="True" CancelText="Vazgeç" DeleteText="Sil"
            InsertText="Ekle" NewText="Yeni" SelectText="Seç" UpdateText="Güncelle" ButtonType="Button" />
    </Fields>
    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
    <RowStyle BackColor="#EFF3FB" />
</asp:DetailsView>
